package com.hyfrogx.modules.manage.entity.task;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;
/**
 * @author 罗春杰-技术部
 */
@TableName("hy_task")
@Data
public class TaskEntity {

    private Integer id;

    /**
     * 任务编号
     */
    private Integer code;
    /**
     * 最大奖励积分数
     */
    @TableField(exist = false)
    private Integer maxCoin;

    private String name;

    private String icon;

    /**
     * 按钮文案
     */
    private String textButton;

    /**
     * 最小基数
     */
    private Integer minBaseNum;

    private Integer type;

    private Integer status;

    private Date createTime;

    private Date upTime;

    private Integer total;

    private Integer time;

    private String introduce;

    private String detail;
    /**
     * 任务完成次数
     */
    @TableField(exist = false)
    private Integer completedNumber;

    @TableField(exist = false)
    private List<TaskRewardEntity> list;

    @TableField(exist = false)
    private Integer goingStatus;

    private Integer sort;
}
